package it.slothy.noveleditor.classes.objects;

import java.io.File;

import it.slothy.noveleditor.classes.elements.VNObject;
import it.slothy.noveleditor.classes.instance.Rarity;
import it.slothy.noveleditor.enumaration.ItemType;
import it.slothy.noveleditor.enumaration.VNEnumObject;

public class Item extends VNObject {
	
	private String description;
	private int value;
	private Rarity rarity;
	private File imageFile;
	private ItemType type;

	public Item(String n, String d, int v, Rarity r, File f, ItemType it) {
		super(VNEnumObject.OBJ_ITEM, n);
		this.description = d;
		this.value = v;
		this.rarity = r;
		this.imageFile = f;
		this.setType(it);
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public Rarity getRarity() {
		return rarity;
	}

	public void setRarity(Rarity rarity) {
		this.rarity = rarity;
	}

	public File getImageFile() {
		return imageFile;
	}

	public void setImageFile(File imageFile) {
		this.imageFile = imageFile;
	}

	public ItemType getType() {
		return type;
	}

	public void setType(ItemType type) {
		this.type = type;
	}

}
